home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
netbsd
/
tools
/
dcp-1.1.lha
/
README.dcp
< prev
Wrap
Text File
|
1993-10-14
|
2KB
|
76 lines
Version 1.1 of dcp Distribution is 14-Oct-93
-----------------------------------------------------------------------
dcp - device copy program for AmigaDOS.
dcp is a program which replaces filetodev/devtofile. It allows
copying to/from devices and it determines automatically the types
and sizes of the source and destination.
** WARNING **
If you don't know what this program does, DO NOT RUN IT. It does
NOT deal with filesystems at all when manipulating a raw device.
If you only specify the destination name as a device, it will write
on the RAW device. If you had a filesystem there, it would most
assuredly be corrupted. For those that understand this warning, you
might want to take a look at the code anyway. For those that do not
understand this warning, erase this package now.
Command line options:
-b = specify buffer size
-m = specify maximum blocks to transfer
-ss = specify source block number at which to start
-ds = specify destination block number at which to start
-v = turn on verbose mode
-h = give more help
Examples:
dcp dh1: ram:junk
Will copy the entire dh1: device to the file ram:junk
dcp floppy df0:
Will copy the file floppy to device df0:
dcp dh2: dh3:
Will copy device dh2: to device dh3:
dcp myfile1 myfile2
Will copy file myfile1 to file myfile2 (same as AmigaDOS copy,
that partial blocks are not copied)
dcp -ss 200 -m 8192 junk_file hddisk.device,3
Will copy 8192 blocks of file junk_file to device 3 of hddisk.device
starting at block 200 of the device
dcp -m 1 scsi.device,0 -
Will dump the first block of SCSI unit 0 to stdout (the screen)
-----------------------------------------------------------------------
legal_information
Please read this first. By using this product you automatically
agree to all terms and conditions stated in the above file.
dcp
The executable for AmigaDOS
dcp.c
Source code for dcp
README.dcp
You are already reading this (hopefully ;)
Changes since release 1.0 of dcp:
bug fixed - last buffered read would not be written
added new command line options: -m -ss -ds -v -h (see above)
added ability to handle device name, unit, and flags directly
This package was written by Chris Hooper (cdh@mtu.edu).
-----------------------------------------------------------------------